package io.renren.modules.driver.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 司机表
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2017-11-30 18:18:19
 */
public class SjDriverEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//表id
	private Long id;
	//用户名
	private String username;
	//手机号
	private String mobile;
	//密码
	private String password;
	//性别
	private String sex;
	//昵称
	private String nickname;
	//真实姓名
	private String realname;
	//年龄
	private Integer age;
	//身份证号
	private String idCard;
	//头像路径
	private String avatar;
	//邮箱
	private String email;
	//驾驶状态0-未出车  1-出车 2-订单进行中
	private String driveStatus;
	//高德云图id
	private String gaoId;
	//极光注册ID
	private String registrationId;
	//车型
	private String carstyle;
	//车牌号
	private String carno;
	//成为司机时间
	private Date createTime;
	//修改记录时间
	private String updateTime;
	//状态  0：不可用   1：可用
	private Long status;
	//平均分(星等)
	private Double avgStarRank;
	//总完成订单数
	private Integer completeOrderSum;
	//余额
	private BigDecimal balance;
	//可提现金额
	private BigDecimal availableAmount;
	//冻结金额
	private BigDecimal freezingAmount;
	//保证金
	private BigDecimal cashfund;
	//银行卡号
	private String bankCardNo;
	//常驻地址
	private String permanentAddress;
	//司机申请表id
	private Long driverApplyId;


	//所属公司
	private String branchCompany;
	private String branchCompanyId;
	//所属网点
	private String netPoint;
	private String netPointId;


	public Long getDriverApplyId() {
		return driverApplyId;
	}

	public void setDriverApplyId(Long driverApplyId) {
		this.driverApplyId = driverApplyId;
	}

	public String getBranchCompany() {
		return branchCompany;
	}

	public void setBranchCompany(String branchCompany) {
		this.branchCompany = branchCompany;
	}

	public String getBranchCompanyId() {
		return branchCompanyId;
	}

	public void setBranchCompanyId(String branchCompanyId) {
		this.branchCompanyId = branchCompanyId;
	}

	public String getNetPoint() {
		return netPoint;
	}

	public void setNetPoint(String netPoint) {
		this.netPoint = netPoint;
	}

	public String getNetPointId() {
		return netPointId;
	}

	public void setNetPointId(String netPointId) {
		this.netPointId = netPointId;
	}

	/**
	 * 设置：表id
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：表id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：用户名
	 */
	public void setUsername(String username) {
		this.username = username;
	}
	/**
	 * 获取：用户名
	 */
	public String getUsername() {
		return username;
	}
	/**
	 * 设置：手机号
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	/**
	 * 获取：手机号
	 */
	public String getMobile() {
		return mobile;
	}
	/**
	 * 设置：密码
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	/**
	 * 获取：密码
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * 设置：性别
	 */
	public void setSex(String sex) {
		this.sex = sex;
	}
	/**
	 * 获取：性别
	 */
	public String getSex() {
		return sex;
	}
	/**
	 * 设置：昵称
	 */
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	/**
	 * 获取：昵称
	 */
	public String getNickname() {
		return nickname;
	}
	/**
	 * 设置：真实姓名
	 */
	public void setRealname(String realname) {
		this.realname = realname;
	}
	/**
	 * 获取：真实姓名
	 */
	public String getRealname() {
		return realname;
	}
	/**
	 * 设置：年龄
	 */
	public void setAge(Integer age) {
		this.age = age;
	}
	/**
	 * 获取：年龄
	 */
	public Integer getAge() {
		return age;
	}
	/**
	 * 设置：身份证号
	 */
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	/**
	 * 获取：身份证号
	 */
	public String getIdCard() {
		return idCard;
	}
	/**
	 * 设置：头像路径
	 */
	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}
	/**
	 * 获取：头像路径
	 */
	public String getAvatar() {
		return avatar;
	}
	/**
	 * 设置：邮箱
	 */
	public void setEmail(String email) {
		this.email = email;
	}
	/**
	 * 获取：邮箱
	 */
	public String getEmail() {
		return email;
	}
	/**
	 * 设置：驾驶状态0-未出车  
1-出车 2-订单进行中
	 */
	public void setDriveStatus(String driveStatus) {
		this.driveStatus = driveStatus;
	}
	/**
	 * 获取：驾驶状态0-未出车  
1-出车 2-订单进行中
	 */
	public String getDriveStatus() {
		return driveStatus;
	}
	/**
	 * 设置：高德云图id
	 */
	public void setGaoId(String gaoId) {
		this.gaoId = gaoId;
	}
	/**
	 * 获取：高德云图id
	 */
	public String getGaoId() {
		return gaoId;
	}
	/**
	 * 设置：极光注册ID
	 */
	public void setRegistrationId(String registrationId) {
		this.registrationId = registrationId;
	}
	/**
	 * 获取：极光注册ID
	 */
	public String getRegistrationId() {
		return registrationId;
	}
	/**
	 * 设置：车型
	 */
	public void setCarstyle(String carstyle) {
		this.carstyle = carstyle;
	}
	/**
	 * 获取：车型
	 */
	public String getCarstyle() {
		return carstyle;
	}
	/**
	 * 设置：车牌号
	 */
	public void setCarno(String carno) {
		this.carno = carno;
	}
	/**
	 * 获取：车牌号
	 */
	public String getCarno() {
		return carno;
	}
	/**
	 * 设置：成为司机时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：成为司机时间
	 */
	public Date getCreateTime() {
		return createTime;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public Long getStatus() {
		return status;
	}

	public void setStatus(Long status) {
		this.status = status;
	}

	/**
	 * 设置：平均分(星等)
	 */
	public void setAvgStarRank(Double avgStarRank) {
		this.avgStarRank = avgStarRank;
	}
	/**
	 * 获取：平均分(星等)
	 */
	public Double getAvgStarRank() {
		return avgStarRank;
	}
	/**
	 * 设置：总完成订单数
	 */
	public void setCompleteOrderSum(Integer completeOrderSum) {
		this.completeOrderSum = completeOrderSum;
	}
	/**
	 * 获取：总完成订单数
	 */
	public Integer getCompleteOrderSum() {
		return completeOrderSum;
	}
	/**
	 * 设置：余额
	 */
	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}
	/**
	 * 获取：余额
	 */
	public BigDecimal getBalance() {
		return balance;
	}
	/**
	 * 设置：可提现金额
	 */
	public void setAvailableAmount(BigDecimal availableAmount) {
		this.availableAmount = availableAmount;
	}
	/**
	 * 获取：可提现金额
	 */
	public BigDecimal getAvailableAmount() {
		return availableAmount;
	}
	/**
	 * 设置：冻结金额
	 */
	public void setFreezingAmount(BigDecimal freezingAmount) {
		this.freezingAmount = freezingAmount;
	}
	/**
	 * 获取：冻结金额
	 */
	public BigDecimal getFreezingAmount() {
		return freezingAmount;
	}
	/**
	 * 设置：保证金
	 */
	public void setCashfund(BigDecimal cashfund) {
		this.cashfund = cashfund;
	}
	/**
	 * 获取：保证金
	 */
	public BigDecimal getCashfund() {
		return cashfund;
	}
	/**
	 * 设置：银行卡号
	 */
	public void setBankCardNo(String bankCardNo) {
		this.bankCardNo = bankCardNo;
	}
	/**
	 * 获取：银行卡号
	 */
	public String getBankCardNo() {
		return bankCardNo;
	}
	/**
	 * 设置：常驻地址
	 */
	public void setPermanentAddress(String permanentAddress) {
		this.permanentAddress = permanentAddress;
	}
	/**
	 * 获取：常驻地址
	 */
	public String getPermanentAddress() {
		return permanentAddress;
	}


}
